/*
 *  collider.h
 *  AwkwardPaint - Engine
 *
 *  Date: 14/08/2013
 *
 *  Language: C++
 *
 *  @author Carl McCaffrey
 *
 */
#ifndef COLLIDER_H
#define COLLIDER_H

#include "physics/rect.h"
#include "physics/circle.h"
#include "physics/triangle.h"

enum ColliderType{
    COLLIDER_TYPE_RECT,
    COLLIDER_TYPE_CIRCLE,
    COLLIDER_TYPE_TRIANGLE
};

typedef struct _Collider{
    ColliderType type;

    Rect rect;
    Circle circle;
    Triangle triangle;
} Collider;

#endif // COLLIDER_H
